import Vue from 'vue'
import Router from 'vue-router'
import axios from 'axios'
Vue.prototype.$axios = axios;

/* import css */
//import '../assets/css/bootstrap.min.css';

// import '../assets/css/owl.carousel.css';

/* import js */
import '../assets/js/jquery.min.js'
import '../assets/js/bootstrap.min.js'
// import '../assets/js/common.js'


import HelloWorld from '@/components/HelloWorld'
import ShopShow from '@/components/shop_show'
import ShoppingCart from '@/components/shopping_cart'
import UploadShop from '@/components/UploadShop'
import ProductsList from '@/components/productsList'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/shopping_cart',
      name: 'shopping_cart',
      component: ShoppingCart
    },
    {
      path: '/hello',
      name: 'shop_show',
      component: ShopShow
    },
    {
      path: '/upload_shop',
      name: 'UploadShop',
      component: UploadShop
    },
    {
      path: '/products_list',
      name: 'ProductsList',
      component: ProductsList
    }
  ]
})
